from app.models.user import User
from . import web
from flask import request ,flash,url_for

@web.route('/register',methods=['GET','POST'])
def register():#注册

    if request.method=="POST":
        #填写用户信息
        user=User()
        # user.set_attrs(form.data)
